using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "业务流程定义",TableName = "Fk_flow")]
    public partial class Fk_flow:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="fk_flow_id")]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid fk_flow_id { get; set; }

       /// <summary>
       ///科目
       /// </summary>
       [Display(Name ="科目")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string racct { get; set; }

       /// <summary>
       ///成本中心/研发项目
       /// </summary>
       [Display(Name ="成本中心/研发项目")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string rcntr { get; set; }

       /// <summary>
       ///当前步骤
       /// </summary>
       [Display(Name ="当前步骤")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? stepid { get; set; }

       /// <summary>
       ///下一步骤
       /// </summary>
       [Display(Name ="下一步骤")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? nextstepid { get; set; }

       /// <summary>
       ///流程起始标识
       /// </summary>
       [Display(Name ="流程起始标识")]
       [Column(TypeName="int")]
       public int? bek { get; set; }

       /// <summary>
       ///当前处理角色
       /// </summary>
       [Display(Name ="当前处理角色")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? roleid { get; set; }

       /// <summary>
       ///next处理角色
       /// </summary>
       [Display(Name ="next处理角色")]
       [JsonIgnore]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? nextroleid { get; set; }

       /// <summary>
       ///金额(>=)
       /// </summary>
       [Display(Name ="金额(>=)")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tj_je { get; set; }

       /// <summary>
       ///条件SQL
       /// </summary>
       [Display(Name ="条件SQL")]
       [MaxLength(2000)]
       [Column(TypeName="varchar(2000)")]
       [Editable(true)]
       public string tjsql { get; set; }

       /// <summary>
       ///排序码
       /// </summary>
       [Display(Name ="排序码")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? pxm { get; set; }

       /// <summary>
       ///说明
       /// </summary>
       [Display(Name ="说明")]
       [MaxLength(5000)]
       [Column(TypeName="varchar(5000)")]
       [Editable(true)]
       public string remark { get; set; }

       /// <summary>
       ///流程属性
       /// </summary>
       [Display(Name ="流程属性")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       public string node_attr { get; set; }

       
    }
}
